<?php
/**
 * Notes:
 * User: wudg <544038230@qq.com>
 * Date: 2025/7/22 10:42
 */

namespace App\Controller\Sys;


use App\Controller\ApiController;
use App\Request\System\IndustryDataRequest;
use App\Service\System\SysIndustryService;
use Hyperf\Di\Annotation\Inject;

class IndustryController extends ApiController
{


    #[Inject]
    protected SysIndustryService $sysIndustryService;

    public function index(IndustryDataRequest $request)
    {
        $industry =  $this->sysIndustryService->getIndustry();
        return $this->responseOk($industry);
    }
}